package itcz.example.pattern.behavior_type.strategy;

/**
 * @ClassName: SalesMan
 * @Author: ITCZ
 * @Date: 2025-06-27
 * @Description:策略调用类
 */
public class SalesMan {

    /**
     * 聚合策略对象
     */
    private Strategy strategy;

    public SalesMan(Strategy strategy) {
        this.strategy = strategy;
    }

    public void show() {
        strategy.show();
    }
}
